Optimal. Leaf size=41 \[ -\frac {1}{2 a b c (a+b x)}+\frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{2 a^2 b c} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 41, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {46, 214}
\begin {gather*} \frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{2 a^2 b c}-\frac {1}{2 a b c (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 46
Rule 214
Rubi steps
\begin {align*} \int \frac {1}{(a+b x)^2 (a c-b c x)} \, dx &=\int \left (\frac {1}{2 a c (a+b x)^2}+\frac {1}{2 a c \left (a^2-b^2 x^2\right )}\right ) \, dx\\ &=-\frac {1}{2 a b c (a+b x)}+\frac {\int \frac {1}{a^2-b^2 x^2} \, dx}{2 a c}\\ &=-\frac {1}{2 a b c (a+b x)}+\frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{2 a^2 b c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 50, normalized size = 1.22 \begin {gather*} \frac {-2 a-(a+b x) \log (a-b x)+(a+b x) \log (a+b x)}{4 a^2 b c (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 2.09, size = 53, normalized size = 1.29 \begin {gather*} \frac {-2 a+\left (a+b x\right ) \left (\text {Log}\left [\frac {a+b x}{b}\right ]-\text {Log}\left [\frac {-a+b x}{b}\right ]\right )}{4 a^2 b c \left (a+b x\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.15, size = 50, normalized size = 1.22
method | result | size |
default | \(\frac {-\frac {\ln \left (-b x +a \right )}{4 a^{2} b}+\frac {\ln \left (b x +a \right )}{4 a^{2} b}-\frac {1}{2 a b \left (b x +a \right )}}{c}\) | \(50\) |
norman | \(-\frac {1}{2 a b c \left (b x +a \right )}-\frac {\ln \left (-b x +a \right )}{4 a^{2} b c}+\frac {\ln \left (b x +a \right )}{4 a^{2} b c}\) | \(55\) |
risch | \(-\frac {1}{2 a b c \left (b x +a \right )}-\frac {\ln \left (-b x +a \right )}{4 a^{2} b c}+\frac {\ln \left (b x +a \right )}{4 a^{2} b c}\) | \(55\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 55, normalized size = 1.34 \begin {gather*} -\frac {1}{2 \, {\left (a b^{2} c x + a^{2} b c\right )}} + \frac {\log \left (b x + a\right )}{4 \, a^{2} b c} - \frac {\log \left (b x - a\right )}{4 \, a^{2} b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.30, size = 51, normalized size = 1.24 \begin {gather*} \frac {{\left (b x + a\right )} \log \left (b x + a\right ) - {\left (b x + a\right )} \log \left (b x - a\right ) - 2 \, a}{4 \, {\left (a^{2} b^{2} c x + a^{3} b c\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.14, size = 44, normalized size = 1.07 \begin {gather*} - \frac {1}{2 a^{2} b c + 2 a b^{2} c x} - \frac {\frac {\log {\left (- \frac {a}{b} + x \right )}}{4} - \frac {\log {\left (\frac {a}{b} + x \right )}}{4}}{a^{2} b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 56, normalized size = 1.37 \begin {gather*} -\frac {\ln \left |x b-a\right |}{4 b a^{2} c}+\frac {\ln \left |x b+a\right |}{4 b a^{2} c}-\frac {\frac {1}{4}\cdot 2 a}{a^{2} c b \left (x b+a\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.18, size = 37, normalized size = 0.90 \begin {gather*} \frac {\mathrm {atanh}\left (\frac {b\,x}{a}\right )}{2\,a^2\,b\,c}-\frac {1}{2\,a\,b\,\left (a\,c+b\,c\,x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________